﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using AHieu.Models;

namespace AHieu.Models
{
    public class AHieuContext : DbContext
    {
        public AHieuContext()
            : base("AHieu-1")
        {
        }

        public DbSet<Category> Categories { get; set; }
        public DbSet<BaiViet> BaiViets { get; set; }
    }
}